<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
	</head>
	<body>
		<div id="app">
			
			{{count}}<button v-on:click="increase">+</button>
			<button v-on:click="foo">-</button>
		</div>

		<script>
			var app = Vue.createApp({
				data() {
					return {
						"message": "Hello Vue!",
						count: 1
					}
				},
				methods: {
					increase: function() {
						this.count++;
					},
					foo:function(){
						this.count--;
				}
			}
		});


			var vm = app.mount("#app")
		</script>
	</body>
</html>
